import request from "@/utils/request";
/* 知识库类目-查询列表 */
export function categorylist(data) {
  return request({
    url: `/manager/knowledge/category/list`,
    method: "get",
    params: data,
  });
}
/* 知识库类目-查询列表 */
export function knowledgelist(data) {
  return request({
    url: `/manager/knowledge/list`,
    method: "get",
    params: data,
  });
}
/* 知识库知识草稿-获取草稿详细信息 */
export function getknowledgetemporary(knowledgeId) {
  return request({
    url: `/manager/knowledge/temporary/${knowledgeId}`,
    method: "get",
  });
}
/* 知识库知识内容-获取详细信息 */
export function getknowledge(knowledgeId) {
  return request({
    url: `/manager/knowledge/${knowledgeId}`,
    method: "get",
  });
}
